	/**
	 * @overview 3D饼图实现类。
	 * 若单独引用js文件，此图表依赖dist中的以下文件：
	 * ichartjs.base.js(Required)
	 * ichartjs.pie.js(Required)
	 * @component#@chart#iChart.Pie3D
	 * @extend#iChart.Pie
	 */
	iChart.Pie3D = iChart.extend(iChart.Pie,{
		configure:function(){
			/**
			 * invoked the super class's  configuration
			 */
			iChart.Pie3D.superclass.configure.apply(this,arguments);
			
			/**
			 * indicate the legend's type
			 */
			this.type = 'pie3d';
			this.dimension = iChart._3D;
			
			this.set({
				/**
				 * @cfg {Number(0-90)} z轴的3D旋转。(默认为45)
				 */
				 zRotate:45,
				 /**
				 * @cfg {Number} 饼图的厚度。单位px。(默认为30)
				 */
				 yHeight:30
			});
			
		},
		doSector:function(d){
			this.push('sector.cylinder_height',(d.height?d.height*Math.cos(iChart.angle2Radian(this.get('zRotate'))):this.get('cylinder_height')));
			return new iChart.Sector3D(this.get('sector'), this);
		},
		doConfig:function(){
			iChart.Pie3D.superclass.doConfig.call(this);
			
			this.push('zRotate',iChart.between(0,90,90-this.get('zRotate')));
			this.push('cylinder_height',this.get('yHeight')*Math.cos(iChart.angle2Radian(this.get('zRotate'))));
			this.push('sector.semi_major_axis',this.r);
			this.push('sector.semi_minor_axis',this.r*this.get('zRotate')/90);
			
			
			this.push('sector.semi_major_axis',this.r);
			
			this.data.each(function(d,i){
				this.doParse(d,i);
			},this);
			
			this.pushComponent(this.sectors);
			
		}
});//@end